package com.sanpu.kxe.business.member.provider;

import android.content.Context;

import com.sanpu.kxe.business.member.view.MemberLevelsListActivity;
import com.sanpu.kxe.business.member.view.MemberTeamListActivity;
import com.sanpu.kxe.utils.IntentTool;

/**
 * Description：会员模块对外接口实现类
 * Created by 薛勇军 on 2018/7/30.
 */

public class MemberProvider implements IMemberProvider {

    @Override
    public void openMemberLevelsListActivity(Context context) {
        IntentTool.startActivity(context, MemberLevelsListActivity.class);
    }

    @Override
    public void openMemberSpreadActivity(Context context) {
        MemberOpenProvider.getInstance().openMemberSpreadActivity(context);
    }

    @Override
    public void openMemberProductRateActivity(Context context) {
        MemberOpenProvider.getInstance().openMemberProductRateActivity(context);
    }

    @Override
    public void openMemberTeamListActivity(Context context) {
        IntentTool.startActivity(context, MemberTeamListActivity.class);
    }
}
